<%#
 Copyright 2008 Steven Barth <steven@midlink.org>
 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
 Copyright 2012 David Menting <david@nut-bolt.nl>
 Copyright 2015 GuoGuo <gch981213@gmail.com>
 Licensed to the public under the Apache License 2.0.
-%>

<%
	local ver = require "luci.version"
	local disp = require "luci.dispatcher"
	local request  = disp.context.path
	local category = request[1]
	local tree = disp.node()
	local categories = disp.node_childs(tree)
%>
  </div>
</div>

<footer class="amz-footer">
<div class="am-container am-text-center">
        <div class="footer-icon">
            <a href="javascript:;" target="_blank" title="微信" class="wechat"><i class="am-icon-weixin"></i></a>            
        </div>
        <span>©2020 Theme by</span>
        <span><a href="https://www.guyezi.com/" title="guyezi" target="_blank">guyezi</a></span>
        <span><a href="<%=media%>/usage.html">使用条款</a>｜</span>
        <a href="http://luci.subsignal.org/">Powered by <%= ver.luciname %> <!--(<%= ver.luciversion %>)--></a> / <%= ver.distversion %>
    <% if #categories > 1 then %>
     <ul id="modemenu">
	    <% for i, r in ipairs(categories) do %>
		    <li<% if request[1] == r then %> class="active"<%end%>><a href="<%=controller%>/<%=r%>/"><%=striptags(translate(tree.nodes[r].title))%></a> <span>|</span></li>
	    <% end %>
     </ul>
    <% end %>
        <div class="am-text-center">
        	<a target="_blank" href="https://github.com/coolsnowwolf/lede" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
            <img src="<%=media%>/beian.png" style="float:left;">&nbsp;Coolsnowwolf
            <p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#333; font-size:12px;">Source support from </p>
          </a>
        </div>
    </div>
  </footer> 
<script src="<%=media%>/jquery.min.js"></script>
<script src="<%=media%>/amazeui.min.js"></script>
</body>
</html>

